﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <LinearGradientBrush x:Key="CompositeIconDefaulBrush" StartPoint="0.5,1." EndPoint="0.5,0">
        <GradientStop Color="#FF6C6C6C" Offset="0" />
        <GradientStop Color="#FFFBFBFB" Offset="1" />
    </LinearGradientBrush>

    <DropShadowEffect x:Key="CompositeIconShadow" Color="#FFFFFFFF" ShadowDepth="1" BlurRadius="1" Direction="315" />

    <Style TargetType="ContentControl" x:Key="GenericIcon">
        <Setter Property="Background" Value="{StaticResource CompositeIconDefaulBrush}" />
        <Setter Property="Effect" Value="{StaticResource CompositeIconShadow}" />
    </Style>

    <Style TargetType="ContentControl" BasedOn="{StaticResource GenericIcon}" x:Key="AddItemIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform" Fill="{TemplateBinding Background}"
                            Data="F1 M 5.770,14 L 5.770,8.191 L 0,8.191 L 0,5.765 L 5.770,5.765 L 5.770,0 L 8.229,0 L 8.229,5.765 L 14,5.765 L 14,8.191 L 8.229,8.191 L 8.229,14 L 5.770,14 Z" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="ContentControl" BasedOn="{StaticResource GenericIcon}" x:Key="DeleteIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform" Fill="{TemplateBinding Background}"
                            Data="F1 M 7.006,4.996 L 12.005,0 L 14,2.004 L 9.001,7 L 14,11.995 L 12.005,14 L 6.994,8.993 L 1.995,14 L 0,11.995 L 5,7 L 0,2.004 L 1.995,0 L 7.006,4.996 Z" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="ContentControl" BasedOn="{StaticResource GenericIcon}" x:Key="DownIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform" Fill="{TemplateBinding Background}"
                            Data="F1 M 2.16,0.41 C 2.48,0.91 6.58,7.43 6.90,7.93 C 7.20,7.51 11.44,1.06 11.74,0.64 C 12.08,0.31 12.43,0.15 12.79,0.15 C 13.13,0.15 13.41,0.28 13.65,0.56 C 13.88,0.84 14.00,1.19 14.00,1.61 C 14.00,1.84 13.94,2.12 13.84,2.44 C 13.77,2.57 8.07,11.16 7.98,11.28 C 7.66,11.76 7.29,12.00 6.87,12.00 C 6.51,12.00 6.16,11.79 5.82,11.39 C 5.44,10.77 0.57,3.03 0.19,2.40 C 0.06,2.08 0.00,1.76 0.00,1.46 C 0.00,1.04 0.11,0.69 0.33,0.41 C 0.55,0.13 0.83,0.00 1.17,0.00 C 1.51,0.00 1.84,0.13 2.16,0.41 Z" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="ContentControl"
           BasedOn="{StaticResource GenericIcon}"
           x:Key="LeftIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform"
                          Fill="{TemplateBinding Background}"
                          Data="F1 M 2.16,0.41 C 2.48,0.91 6.58,7.43 6.90,7.93 C 7.20,7.51 11.44,1.06 11.74,0.64 C 12.08,0.31 12.43,0.15 12.79,0.15 C 13.13,0.15 13.41,0.28 13.65,0.56 C 13.88,0.84 14.00,1.19 14.00,1.61 C 14.00,1.84 13.94,2.12 13.84,2.44 C 13.77,2.57 8.07,11.16 7.98,11.28 C 7.66,11.76 7.29,12.00 6.87,12.00 C 6.51,12.00 6.16,11.79 5.82,11.39 C 5.44,10.77 0.57,3.03 0.19,2.40 C 0.06,2.08 0.00,1.76 0.00,1.46 C 0.00,1.04 0.11,0.69 0.33,0.41 C 0.55,0.13 0.83,0.00 1.17,0.00 C 1.51,0.00 1.84,0.13 2.16,0.41 Z"
                          RenderTransformOrigin="0.5,0.5">
                        <Path.RenderTransform>
                            <RotateTransform Angle="90" />
                        </Path.RenderTransform>
                    </Path>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style TargetType="ContentControl"
           BasedOn="{StaticResource GenericIcon}"
           x:Key="RightIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform"
                          Fill="{TemplateBinding Background}"
                          Data="F1 M 2.16,0.41 C 2.48,0.91 6.58,7.43 6.90,7.93 C 7.20,7.51 11.44,1.06 11.74,0.64 C 12.08,0.31 12.43,0.15 12.79,0.15 C 13.13,0.15 13.41,0.28 13.65,0.56 C 13.88,0.84 14.00,1.19 14.00,1.61 C 14.00,1.84 13.94,2.12 13.84,2.44 C 13.77,2.57 8.07,11.16 7.98,11.28 C 7.66,11.76 7.29,12.00 6.87,12.00 C 6.51,12.00 6.16,11.79 5.82,11.39 C 5.44,10.77 0.57,3.03 0.19,2.40 C 0.06,2.08 0.00,1.76 0.00,1.46 C 0.00,1.04 0.11,0.69 0.33,0.41 C 0.55,0.13 0.83,0.00 1.17,0.00 C 1.51,0.00 1.84,0.13 2.16,0.41 Z"
                          RenderTransformOrigin="0.5,0.5">
                        <Path.RenderTransform>
                            <RotateTransform Angle="-90" />
                        </Path.RenderTransform>
                    </Path>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style TargetType="ContentControl" BasedOn="{StaticResource GenericIcon}" x:Key="UpIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform" Fill="{TemplateBinding Background}"
                            Data="F1 M 11.83,11.58 C 11.51,11.08 7.41,4.56 7.09,4.06 C 6.79,4.48 2.55,10.93 2.25,11.36 C 1.92,11.68 1.57,11.84 1.20,11.84 C 0.87,11.84 0.58,11.71 0.35,11.43 C 0.11,11.15 0.00,10.80 0.00,10.38 C 0.00,10.15 0.05,9.88 0.16,9.55 C 0.22,9.43 5.92,0.84 6.01,0.71 C 6.33,0.23 6.70,0.00 7.12,0.00 C 7.48,0.00 7.83,0.20 8.17,0.60 C 8.55,1.22 13.42,8.96 13.80,9.59 C 13.93,9.91 14.00,10.23 14.00,10.53 C 14.00,10.95 13.88,11.31 13.66,11.58 C 13.44,11.86 13.16,12.00 12.82,12.00 C 12.48,12.00 12.15,11.86 11.83,11.58 Z" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="ContentControl" BasedOn="{StaticResource GenericIcon}" x:Key="DivideIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform" Fill="{TemplateBinding Background}"
                            Data="F1 M12.005,0 L14,2.004 1.995,14 0,11.995 z" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="ContentControl" BasedOn="{StaticResource GenericIcon}" x:Key="SubtractIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform" Fill="{TemplateBinding Background}"
                            Data="F1 M0,8.191 L0,5.765 14,5.765 14,8.191 z"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style TargetType="ContentControl" BasedOn="{StaticResource GenericIcon}" x:Key="PlusIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform" Fill="{TemplateBinding Background}"
                            Data="F1 M 5.770,14 L 5.770,8.191 L 0,8.191 L 0,5.765 L 5.770,5.765 L 5.770,0 L 8.229,0 L 8.229,5.765 L 14,5.765 L 14,8.191 L 8.229,8.191 L 8.229,14 L 5.770,14 Z" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="ContentControl" BasedOn="{StaticResource GenericIcon}" x:Key="MultiplyIcon">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Path Stretch="Uniform" Fill="{TemplateBinding Background}"
                            Data="F1 M 7.006,4.996 L 12.005,0 L 14,2.004 L 9.001,7 L 14,11.995 L 12.005,14 L 6.994,8.993 L 1.995,14 L 0,11.995 L 5,7 L 0,2.004 L 1.995,0 L 7.006,4.996 Z" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>